package org.example.pojo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * @Description: 通知类（映射体）
 * @Author:曹震
 * @Date: 2024/12/1 16:34
 */
@Data
@Alias("notify")
public class Notifies {
    private String notifyId;
    private String title;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    private String bookDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date refreshDate;
    //1:已发送 0：待发送
    private int status;
}
